package com.nmsl.statistic.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.nmsl.common.annotation.Excel;
import com.nmsl.common.core.domain.BaseEntity;

/**
 * 药品零售包含药品对象 retail_medicine
 * 
 * @author ruoyi
 * @date 2025-02-16
 */
public class RetailMedicine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 药品零售单号 */
    @Excel(name = "药品零售单号")
    private String retailMedicineId;

    /** 药品id */
    @Excel(name = "药品id")
    private Long medicineId;

    /** 药品名 */
    @Excel(name = "药品名")
    private String medicineName;

    /** 药品单价 */
    @Excel(name = "药品单价")
    private BigDecimal medicinePrice;

    /** 药品数量 */
    @Excel(name = "药品数量")
    private Long medicineNum;

    /** 药品总价 */
    @Excel(name = "药品总价")
    private BigDecimal medicineAmunod;

    /** 零售单号 */
    @Excel(name = "零售单号")
    private Long retailOrderId;

    /** 零售单号 */
    @Excel(name = "采购价格")
    private Long purchasePrice;

    public Long getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(Long purchasePrice) {
        this.purchasePrice = purchasePrice;
    }




//    purchase_price
    public void setRetailMedicineId(String retailMedicineId) 
    {
        this.retailMedicineId = retailMedicineId;
    }

    public String getRetailMedicineId() 
    {
        return retailMedicineId;
    }
    public void setMedicineId(Long medicineId) 
    {
        this.medicineId = medicineId;
    }

    public Long getMedicineId() 
    {
        return medicineId;
    }
    public void setMedicineName(String medicineName) 
    {
        this.medicineName = medicineName;
    }

    public String getMedicineName() 
    {
        return medicineName;
    }
    public void setMedicinePrice(BigDecimal medicinePrice) 
    {
        this.medicinePrice = medicinePrice;
    }

    public BigDecimal getMedicinePrice() 
    {
        return medicinePrice;
    }
    public void setMedicineNum(Long medicineNum) 
    {
        this.medicineNum = medicineNum;
    }

    public Long getMedicineNum() 
    {
        return medicineNum;
    }
    public void setMedicineAmunod(BigDecimal medicineAmunod) 
    {
        this.medicineAmunod = medicineAmunod;
    }

    public BigDecimal getMedicineAmunod() 
    {
        return medicineAmunod;
    }
    public void setRetailOrderId(Long retailOrderId) 
    {
        this.retailOrderId = retailOrderId;
    }

    public Long getRetailOrderId() 
    {
        return retailOrderId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("retailMedicineId", getRetailMedicineId())
            .append("medicineId", getMedicineId())
            .append("medicineName", getMedicineName())
            .append("medicinePrice", getMedicinePrice())
            .append("medicineNum", getMedicineNum())
            .append("medicineAmunod", getMedicineAmunod())
            .append("retailOrderId", getRetailOrderId())
            .append("createTime", getCreateTime())
            .append("purchasePrice", getPurchasePrice())
            .toString();
    }
}
